#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
    int firstInt;
    int secondInt;
    int thirdInt;
    cin>>firstInt>>secondInt>>thirdInt;
    int sum;
    sum = firstInt + secondInt + thirdInt;
    
    cout<<"Sum is " << sum << "\n";
    float ave;
    ave = sum / 3.0;
    cout << "Average is "<<fixed<<setprecision(1)<<ave<<"\n";
    cout<<"Product is "<<firstInt*secondInt*thirdInt<<"\n";
   
    int minNum = 20000000;
   
    minNum = min(minNum,firstInt);
    minNum = min(minNum,secondInt);
    minNum = min(minNum,thirdInt);
    
    cout<<"Smallest is "<<minNum<<"\n";
    cout<<"Largest is "<<max(max(firstInt,secondInt),thirdInt);
    
    
}